package com.neu.edu.feign;

import com.neu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "gulimall-third-part")
public interface ThirdPartFeignService {

    @GetMapping("/sms/sendcode")
    R getSms(@RequestParam("code") String code, @RequestParam("phone") String phone);

}
